package com.lening.provider.service.impl.PropertyNotice;

import com.lening.common.base.BaseServiceImpl;
import com.lening.provider.dao.PropertyNotice.ReminderMethodsDAO;
import com.lening.provider.dto.PropertyNotice.ReminderMethodsDTO;
import com.lening.provider.po.PropertyNotice.ReminderMethodsPO;
import com.lening.provider.service.PropertyNotice.ReminderMethodsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 刘政华
 * @datetime 2024/6/5 14:08
 * @description 类对象
 */
@Slf4j
@Service
public class ReminderMethodsServiceImpl extends BaseServiceImpl<ReminderMethodsDAO, ReminderMethodsPO, ReminderMethodsDTO> implements ReminderMethodsService {

    @Resource
    private ReminderMethodsDAO reminderMethodsDAO;

    @Override
    public List<ReminderMethodsDTO> getByName(String reminderMethodName) {
        return reminderMethodsDAO.getByName(reminderMethodName);
    }
}
